package common

import (
	"fmt"
	"gitee.com/shijun123456/kcgin"
)

func GenerateAddress() string {
	host := kcgin.AppConfig.String("redis.host")
	port := kcgin.AppConfig.DefaultInt("redis.port", 6379)
	return fmt.Sprintf("%s:%d", host, port)
}
